import request from '@/utils/request'

export function listSms(query) {
    return request({
      url: '/userMsg/list',
      method: 'post',
      params: query
    })
}

export function createSms(data){
  return request({
    url: '/userMsg/createSms',
    method: 'post',
    params: data
  })
}

export function deleteSms(row){
  return request({
    url: '/userMsg/deleteSms',
    method: 'get',
    params: {
      id:row
    }
  })
}